package com.visitorspecials.tankbattle.server;

import java.util.*;

public class Bullet extends MovingActor
{
	protected int _damage;
	
	public Bullet(String textureName, Vector2 loc, float radius, Vector2 speed, int damage, ArrayList<Actor> list)
	{
		super(textureName, loc, radius, speed, list);
		setDamage(damage);
	}
	
	public int getDamage()
	{
		return _damage;
	}
	
	public void setDamage(int damage)
	{
		this._damage = damage;
	}
	
	public void destroy()
	{
		this.removeSelfFromList();
	}
}
